<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
		</style>
	</head>
	<body>	
	<h6><kbd>&nbsp;关于我的信息&nbsp;</kbd></h6>
		<form  enctype="multipart/form-data" class="alert alert-info" action="{:U(MODULE_NAME.'/Options/aboutHandle')}" method="post">
			<label for="">名称</label>
			<input type="text" value="{$about.about_NAME}" name="about_NAME" class="form-control" placeholder="请输入名称"  />
		<label for="">职业</label>
			<input type="text" value="{$about.about_PROFESSION}"name="about_PROFESSION" class="form-control" placeholder="请输入职业"  />
					<label for="">生日</label>
			<input type="date" value="{$about.about_BORNDATE|date="Y-m-d",###}" name="about_BORNDATE" class="form-control" placeholder="请输入生日"  />
					<label for="">QQ</label>
			<input type="text" value="{$about.about_QQ}" name="about_QQ" class="form-control" placeholder="请输入QQ"  />
					<label for="">主页</label>
			<input type="text" value="{$about.about_HOME}"name="about_HOME" class="form-control" placeholder="请输入主页地址"  />
					<label for="">微信</label>
			<input type="text" value="{$about.about_WEIXIN}" name="about_WEIXIN" class="form-control" placeholder="请输入微信"  />
					<label for="">微博</label>
			<input type="text"value="{$about.about_WEIBO}"name="about_WEIBO" class="form-control" placeholder="请输入微博"  />
					<label for="">邮箱</label>
			<input type="text" value="{$about.about_EMAIL}" name="about_EMAIL" class="form-control" placeholder="请输入邮箱"  />
			<br/>
			<div class="form-group">
		        <a class="btn btn-primary">头像秀</a>
		        			<input name="file" type="file" id="file" class="transFile" />
		        			<img style="height:150px;width:200px" src="__IMGS__/system_images/{$about.about_SHOW}" class="thumbnail pull-right viewSHOW" />
		        			</div>	<br /><br />
			<label for="">我的技能介绍</label>
			<textarea name="about_SKILLS"  class="form-control"  placeholder="我的技能介绍">{$about.about_SKILLS}</textarea>
			<label for="">我的社会经验</label>
			<textarea name="about_EXPEROENCE" class="form-control"  placeholder="我的社会信息介绍">{$about.about_EXPEROENCE}</textarea>
			<label for="">我的其他介绍</label>
			<textarea name="about_MEOTHER" class="form-control"  placeholder="我的其他介绍">{$about.about_MEOTHER}</textarea>
						<br/>
			<input type="submit" class="btn btn-success" value="保 存" />
			<a href="{:U(MODULE_NAME.'/Index/index')}" class="btn btn-danger ">返 回</a>
		</form>

	</body>		
	<script>
   //上传图片显示图片
    $("#file").change(function(e)
    {
    	var files=this.files;
    	var read=new FileReader();
				read.readAsDataURL(files[0]);
				read.onloadend=function()
				{
					$('.viewSHOW').attr("src",this.result);
				}
    })
    

</script>
</html>
